package com.bigdata.service.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.bigdata.common.annotation.ExcelDictFormat;
import com.bigdata.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;

/**
 * 数据分类视图对象 data_categories
 *
 * @author ruoyi
 * @date 2025-07-15
 */
@Data
@ExcelIgnoreUnannotated
public class DataCategoriesVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String id;

    /**
     * 分类名称
     */
    @ExcelProperty(value = "分类名称")
    private String name;

    /**
     * 父分类ID（0表示顶级分类）
     */
    @ExcelProperty(value = "父分类ID", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=表示顶级分类")
    private String parentId;


    private Integer categoriesNum;


}
